From: Maximiliano Sandoval R Date: Sun, 3 Oct 2021 16:00:23 +0000 (+0200) Subject: combo_box: Use mnemonic_activate on override X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~188^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0aa3a7e71c25f9ecdbac8e762a2e5187d122436c;p=gtk4.git combo_box: Use mnemonic_activate on override This is changing the existing behavior where the mnemonic activation would just grab the focus of the button, this was the behavior in GTK 3. --- diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index f007d841f9..c29896319e 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2304,7 +2304,7 @@ gtk_combo_box_mnemonic_activate (GtkWidget *widget, gtk_widget_grab_focus (priv->child); } else - gtk_widget_grab_focus (priv->button); + gtk_widget_mnemonic_activate (priv->button, group_cycling); return TRUE; }